Transformations overview
- Modifying objects freely on the artboard
- Modifying objects by setting specific properties
- Modifying text
- Transforming objects
- Transforming the brushes that are applied to an object
- Clipping
You can easily modify both vector objects and text objects in Microsoft® Expression Blend™ by repositioning, resizing, translating, scaling, rotating, skewing, flipping, and changing the center point of the objects. You can modify objects by making changes on the artboard or by changing the properties under the Layout and Transform categories of the Properties panel. In addition, you can use the Brush Transform tool to modify only the brush properties of your text and vector objects.
Modifying objects freely on the artboard
When you use the Selection
tool in the Toolbox to select an object on the artboard, Expression Blend displays a bounding
box around
the object, with handles that you can use to modify the object. Following are quick tips for using handles:
The following images demonstrate what an object might look like before and after you apply a transformation to it.
Modification | Before and after |
---|---|
Reposition
Moves an object along the X or Y or Z (three-dimensional objects only) axis. To reposition an object, move your pointer over the object until the cursor changes to an
arrow with a smaller four-directional arrow
Repositioning an object changes the object's properties under
Layout in the
Properties panel. Repositioning simply changes the initial position of the object.
Repositioning does not
apply a transform to the object unless you are modifying your
object in a trigger or an
animation timeline,
in which case repositioning changes the properties in the Translate
|
Repositioning an object on the artboard |
Resize
Changes the height, width, and depth (three-dimensional objects only) of an object. To resize an object, move your pointer over the corner handles or the midpoint handles of an object until the pointer becomes a double-ended arrow ( Resizing an object changes the object's properties under
Layout in the
Properties panel. Resizing simply changes the initial size of the object.
Resizing does not
apply a transform to the object unless you are modifying your
object in a trigger or an
animation timeline,
in which case resizing changes the properties in the Scale
|
Resizing an object on the artboard |
Rotate
Rotates an object around its center point. To rotate an object, move your pointer over the corner handles of
the object until the
pointer becomes a rotation handle Rotating an object changes the object's properties in the Rotate
|
Rotating an object on the artboard |
Skew
Skews (shears) an object along the X or Y or Z (three-dimensional objects only) axis. To skew an object, move your pointer over the midpoint handles of an object
until the pointer becomes a
divided double-ended arrow
Skewing an object changes the object's properties in the Skew
|
Skewing an object on the artboard |
Flip
Flips an object along the X or Y or Z (three-dimensional objects only) axis. To flip an object, move your pointer over the corner handles or the
midpoint handles of an object until the pointer becomes a double-ended arrow
( Flipping an object gives you the same results as selecting the buttons in the Flip
|
Flipping an object on the artboard |
Modifying objects by setting specific properties
You can modify objects with precision by entering specific values for the properties under Layout and Transform in the Properties panel. Using the Properties panel enables you to easily control the details of your objects, such as their initial height, width, alignment, and margins, as well as transformations such as rotation, skew angle, flip angle, scale values, translation values, and center point. For information about how to set specific transformation properties, see the "How to" topics that are listed in Transformations.
![]() |
Most of the properties under Layout and
Transform in the Properties panel use the
Expression Blend number editor. The number editor is activated by moving your
mouse pointer over the property's text box, and then clicking and
dragging when the numerical adjust ![]() |
Modifying text objects
You can apply the same modifications to text objects that you can apply to vector objects.
Modification applied to a text object
Transforming objects
A transform defines how to map points from one coordinate space to another coordinate space. For example, if you translate an object, the transformation that is applied to the object moves the object from the initial X, Y, and Z (three-dimensional objects only) coordinates to the destination coordinates. If you scale an object, the transformation that is applied to the object resizes the object based upon a percentage of the initial X, Y, and Z (three-dimensional objects only) values.
You can transform objects by entering specific values under Transform in the Properties panel, or by modifying the center point, rotation, skew angle, or flip angle of an object on the artboard. Transformations are automatically applied when modifying an object in an animation timeline or a trigger, even if you are repositioning or resizing the object on the artboard. This preserves the initial values of an object.
There are two categories of transformation properties:
- RenderTransform The transformation is
applied after the layout pass is complete. Using the Selection tool
to transform an object on the artboard modifies the RenderTransform
properties.
Using the RenderTransform properties is the ideal way to perform transformations on objects because of better application performance. - LayoutTransform The transformation is applied in memory during layout, before the application is rendered on screen. Use the LayoutTransform properties when you need a parent element to adjust to the transformation applied to a child element.
Transforming the brushes that are applied to an object
To transform the fill, stroke, opacity mask, or other brush that is applied
to an object, select the brush property in the Properties panel, and then select the Brush Transform
tool on the Toolbox. A brush transform arrow will appear on the
artboard that you can modify with your mouse pointer. If you are using a
gradient brush, the endpoints of the transform arrow correspond to the gradient
stops at either end of the color bar. The following images demonstrate the
appearance of a rectangle object after various transformations are applied to
the gradient brush of the Fill property.
Transformations applied to the fill of a rectangle: linear gradient brush (top), and radial gradient brush (bottom)
You can optionally set the properties that appear when you click the Options button under Brushes in the Properties panel. In the preceding image, the Pad option is selected. If you selected the Reflect or Repeat option, and then made the transform arrow shorter than the object, you would see a corrugated effect.
You can transform brush types other than gradient brushes. For more information about brush transforms, see Brushes and Transform a gradient or tile brush.
Clipping
Sometimes, when you transform an object, parts of the object will be clipped (that is, parts will disappear outside of the bounding box). You can fix clipping problems in the following ways:
- Deselect the checkbox for the ClipToBounds property under Appearance in the Properties panel.
- Use the properties in the LayoutTransform category instead of the RenderTransform under Transform in the Properties panel. This is particularly useful when transforming a visual brush.
- Modify your object in the default timeline using the properties under Layout in the Properties panel before applying transformations or modifying the object in an animation timeline or trigger. This will resize and reposition the bounding box before transformations are applied..